﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NodeEdit.ascx.cs" Inherits="Jungle.Admin.Controls.NodeEdit" %>
<div class="width-fix">
    <table class="fob-table">
        <tr>
            <td class="l">
                Название ветви<span class="fob-req">*</span>
            </td>
            <td class="fr">
                <asp:TextBox ID="tbName" runat="server" CssClass="fob-text" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="<br />Надо заполнить поле" ValidationGroup="mainValid" ControlToValidate="tbName" Display="Dynamic" />
            </td>
        </tr>    
        <tr>
            <td class="l">
                Заголовок страницы<span class="fob-req">*</span>
                <br />
                <small>для страницы и результатов поиска &lt;title&gt;</small>
            </td>
            <td class="fr">
                <asp:TextBox ID="tbTitle" runat="server" CssClass="fob-text" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="<br />Надо заполнить поле" ValidationGroup="mainValid" ControlToValidate="tbTitle" Display="Dynamic" />
            </td>
        </tr>
        <tr>
            <td class="l">
                Алиас<span class="fob-req">*</span>
            </td>
            <td class="fr">
                <asp:TextBox ID="tbAlias" runat="server" CssClass="fob-text" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="<br />Надо заполнить поле" ValidationGroup="mainValid" ControlToValidate="tbAlias" Display="Dynamic" />

            </td>
        </tr>
        <tr>
            <td class="l">
                В разделе
            </td>
            <td class="fr">
                <asp:DropDownList ID="ddlParentNodeID" runat="server" CssClass="fob-select" />
            </td>
        </tr>
        <tr>
            <td class="l">
                Порядок
            </td>
            <td class="fr">
                <asp:DropDownList ID="ddlOrd" runat="server" CssClass="fob-select" />
            </td>
        </tr>
        <tr>
            <td class="l">
                Шаблон
            </td>
            <td class="fr">
                <asp:DropDownList ID="ddlTemplateID" runat="server" CssClass="fob-select" DataTextField="Name"
                    DataValueField="TemplateID" />
            </td>
        </tr>
        <tr>
            <td class="l">
                Ключевые слова
                <br>
                <small>&lt;meta name='keywords'&gt;</small>
            </td>
            <td class="fr">
                <asp:TextBox ID="tbKeywords" Rows="5" runat="server" CssClass="fob-textarea" TextMode="MultiLine" />
            </td>
        </tr>
        <tr>
            <td class="l">
                Описание
                <br>
                <small>&lt;meta name='description'&gt;</small>                
            </td>
            <td class="fr">
                <asp:TextBox ID="tbDescription" Rows="5" runat="server" CssClass="fob-textarea" TextMode="MultiLine" />
            </td>
        </tr>
        <tr>
            <td class="l">
                Отображать на сайте
            </td>
            <td class="fr">
                <asp:CheckBox ID="cbEnabled" CssClass="fob-checkbox" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="l">
            </td>
            <td class="fr">
                <asp:ImageButton runat="server" AlternateText="Сохранить" OnClick="btnSave_Click" ImageUrl="~/Admin/img/save.jpg"
                    ID="btnSave" ValidationGroup="mainValid" />
            </td>
        </tr>
    </table>
</div>
